﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D7F RID: 3455
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PunkLordMonsterBasicInfo : IMessage<PunkLordMonsterBasicInfo>, IMessage, IEquatable<PunkLordMonsterBasicInfo>, IDeepCloneable<PunkLordMonsterBasicInfo>, IBufferMessage
	{
		// Token: 0x17002BD9 RID: 11225
		// (get) Token: 0x06009B12 RID: 39698 RVA: 0x0019E75C File Offset: 0x0019C95C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PunkLordMonsterBasicInfo> Parser
		{
			get
			{
				return PunkLordMonsterBasicInfo._parser;
			}
		}

		// Token: 0x17002BDA RID: 11226
		// (get) Token: 0x06009B13 RID: 39699 RVA: 0x0019E763 File Offset: 0x0019C963
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PunkLordMonsterBasicInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002BDB RID: 11227
		// (get) Token: 0x06009B14 RID: 39700 RVA: 0x0019E775 File Offset: 0x0019C975
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PunkLordMonsterBasicInfo.Descriptor;
			}
		}

		// Token: 0x06009B15 RID: 39701 RVA: 0x0019E77C File Offset: 0x0019C97C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PunkLordMonsterBasicInfo()
		{
		}

		// Token: 0x06009B16 RID: 39702 RVA: 0x0019E784 File Offset: 0x0019C984
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PunkLordMonsterBasicInfo(PunkLordMonsterBasicInfo other) : this()
		{
			this.uid_ = other.uid_;
			this.monsterId_ = other.monsterId_;
			this.configId_ = other.configId_;
			this.worldLevel_ = other.worldLevel_;
			this.createTime_ = other.createTime_;
			this.leftHp_ = other.leftHp_;
			this.attackerNum_ = other.attackerNum_;
			this.shareType_ = other.shareType_;
			this.hGAIBECFCPL_ = other.hGAIBECFCPL_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009B17 RID: 39703 RVA: 0x0019E814 File Offset: 0x0019CA14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PunkLordMonsterBasicInfo Clone()
		{
			return new PunkLordMonsterBasicInfo(this);
		}

		// Token: 0x17002BDC RID: 11228
		// (get) Token: 0x06009B18 RID: 39704 RVA: 0x0019E81C File Offset: 0x0019CA1C
		// (set) Token: 0x06009B19 RID: 39705 RVA: 0x0019E824 File Offset: 0x0019CA24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Uid
		{
			get
			{
				return this.uid_;
			}
			set
			{
				this.uid_ = value;
			}
		}

		// Token: 0x17002BDD RID: 11229
		// (get) Token: 0x06009B1A RID: 39706 RVA: 0x0019E82D File Offset: 0x0019CA2D
		// (set) Token: 0x06009B1B RID: 39707 RVA: 0x0019E835 File Offset: 0x0019CA35
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MonsterId
		{
			get
			{
				return this.monsterId_;
			}
			set
			{
				this.monsterId_ = value;
			}
		}

		// Token: 0x17002BDE RID: 11230
		// (get) Token: 0x06009B1C RID: 39708 RVA: 0x0019E83E File Offset: 0x0019CA3E
		// (set) Token: 0x06009B1D RID: 39709 RVA: 0x0019E846 File Offset: 0x0019CA46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ConfigId
		{
			get
			{
				return this.configId_;
			}
			set
			{
				this.configId_ = value;
			}
		}

		// Token: 0x17002BDF RID: 11231
		// (get) Token: 0x06009B1E RID: 39710 RVA: 0x0019E84F File Offset: 0x0019CA4F
		// (set) Token: 0x06009B1F RID: 39711 RVA: 0x0019E857 File Offset: 0x0019CA57
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint WorldLevel
		{
			get
			{
				return this.worldLevel_;
			}
			set
			{
				this.worldLevel_ = value;
			}
		}

		// Token: 0x17002BE0 RID: 11232
		// (get) Token: 0x06009B20 RID: 39712 RVA: 0x0019E860 File Offset: 0x0019CA60
		// (set) Token: 0x06009B21 RID: 39713 RVA: 0x0019E868 File Offset: 0x0019CA68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public long CreateTime
		{
			get
			{
				return this.createTime_;
			}
			set
			{
				this.createTime_ = value;
			}
		}

		// Token: 0x17002BE1 RID: 11233
		// (get) Token: 0x06009B22 RID: 39714 RVA: 0x0019E871 File Offset: 0x0019CA71
		// (set) Token: 0x06009B23 RID: 39715 RVA: 0x0019E879 File Offset: 0x0019CA79
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LeftHp
		{
			get
			{
				return this.leftHp_;
			}
			set
			{
				this.leftHp_ = value;
			}
		}

		// Token: 0x17002BE2 RID: 11234
		// (get) Token: 0x06009B24 RID: 39716 RVA: 0x0019E882 File Offset: 0x0019CA82
		// (set) Token: 0x06009B25 RID: 39717 RVA: 0x0019E88A File Offset: 0x0019CA8A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AttackerNum
		{
			get
			{
				return this.attackerNum_;
			}
			set
			{
				this.attackerNum_ = value;
			}
		}

		// Token: 0x17002BE3 RID: 11235
		// (get) Token: 0x06009B26 RID: 39718 RVA: 0x0019E893 File Offset: 0x0019CA93
		// (set) Token: 0x06009B27 RID: 39719 RVA: 0x0019E89B File Offset: 0x0019CA9B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PunkLordShareType ShareType
		{
			get
			{
				return this.shareType_;
			}
			set
			{
				this.shareType_ = value;
			}
		}

		// Token: 0x17002BE4 RID: 11236
		// (get) Token: 0x06009B28 RID: 39720 RVA: 0x0019E8A4 File Offset: 0x0019CAA4
		// (set) Token: 0x06009B29 RID: 39721 RVA: 0x0019E8AC File Offset: 0x0019CAAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool HGAIBECFCPL
		{
			get
			{
				return this.hGAIBECFCPL_;
			}
			set
			{
				this.hGAIBECFCPL_ = value;
			}
		}

		// Token: 0x06009B2A RID: 39722 RVA: 0x0019E8B5 File Offset: 0x0019CAB5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PunkLordMonsterBasicInfo);
		}

		// Token: 0x06009B2B RID: 39723 RVA: 0x0019E8C4 File Offset: 0x0019CAC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PunkLordMonsterBasicInfo other)
		{
			return other != null && (other == this || (this.Uid == other.Uid && this.MonsterId == other.MonsterId && this.ConfigId == other.ConfigId && this.WorldLevel == other.WorldLevel && this.CreateTime == other.CreateTime && this.LeftHp == other.LeftHp && this.AttackerNum == other.AttackerNum && this.ShareType == other.ShareType && this.HGAIBECFCPL == other.HGAIBECFCPL && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009B2C RID: 39724 RVA: 0x0019E980 File Offset: 0x0019CB80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Uid != 0U)
			{
				num ^= this.Uid.GetHashCode();
			}
			if (this.MonsterId != 0U)
			{
				num ^= this.MonsterId.GetHashCode();
			}
			if (this.ConfigId != 0U)
			{
				num ^= this.ConfigId.GetHashCode();
			}
			if (this.WorldLevel != 0U)
			{
				num ^= this.WorldLevel.GetHashCode();
			}
			if (this.CreateTime != 0L)
			{
				num ^= this.CreateTime.GetHashCode();
			}
			if (this.LeftHp != 0U)
			{
				num ^= this.LeftHp.GetHashCode();
			}
			if (this.AttackerNum != 0U)
			{
				num ^= this.AttackerNum.GetHashCode();
			}
			if (this.ShareType != PunkLordShareType.None)
			{
				num ^= this.ShareType.GetHashCode();
			}
			if (this.HGAIBECFCPL)
			{
				num ^= this.HGAIBECFCPL.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009B2D RID: 39725 RVA: 0x0019EA8E File Offset: 0x0019CC8E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009B2E RID: 39726 RVA: 0x0019EA96 File Offset: 0x0019CC96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009B2F RID: 39727 RVA: 0x0019EAA0 File Offset: 0x0019CCA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Uid != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Uid);
			}
			if (this.MonsterId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.MonsterId);
			}
			if (this.ConfigId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.ConfigId);
			}
			if (this.WorldLevel != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.WorldLevel);
			}
			if (this.CreateTime != 0L)
			{
				output.WriteRawTag(40);
				output.WriteInt64(this.CreateTime);
			}
			if (this.LeftHp != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.LeftHp);
			}
			if (this.AttackerNum != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.AttackerNum);
			}
			if (this.ShareType != PunkLordShareType.None)
			{
				output.WriteRawTag(64);
				output.WriteEnum((int)this.ShareType);
			}
			if (this.HGAIBECFCPL)
			{
				output.WriteRawTag(72);
				output.WriteBool(this.HGAIBECFCPL);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009B30 RID: 39728 RVA: 0x0019EBBC File Offset: 0x0019CDBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Uid != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Uid);
			}
			if (this.MonsterId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MonsterId);
			}
			if (this.ConfigId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ConfigId);
			}
			if (this.WorldLevel != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.WorldLevel);
			}
			if (this.CreateTime != 0L)
			{
				num += 1 + CodedOutputStream.ComputeInt64Size(this.CreateTime);
			}
			if (this.LeftHp != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LeftHp);
			}
			if (this.AttackerNum != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AttackerNum);
			}
			if (this.ShareType != PunkLordShareType.None)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.ShareType);
			}
			if (this.HGAIBECFCPL)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009B31 RID: 39729 RVA: 0x0019ECB0 File Offset: 0x0019CEB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PunkLordMonsterBasicInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Uid != 0U)
			{
				this.Uid = other.Uid;
			}
			if (other.MonsterId != 0U)
			{
				this.MonsterId = other.MonsterId;
			}
			if (other.ConfigId != 0U)
			{
				this.ConfigId = other.ConfigId;
			}
			if (other.WorldLevel != 0U)
			{
				this.WorldLevel = other.WorldLevel;
			}
			if (other.CreateTime != 0L)
			{
				this.CreateTime = other.CreateTime;
			}
			if (other.LeftHp != 0U)
			{
				this.LeftHp = other.LeftHp;
			}
			if (other.AttackerNum != 0U)
			{
				this.AttackerNum = other.AttackerNum;
			}
			if (other.ShareType != PunkLordShareType.None)
			{
				this.ShareType = other.ShareType;
			}
			if (other.HGAIBECFCPL)
			{
				this.HGAIBECFCPL = other.HGAIBECFCPL;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009B32 RID: 39730 RVA: 0x0019ED8C File Offset: 0x0019CF8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009B33 RID: 39731 RVA: 0x0019ED98 File Offset: 0x0019CF98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 32U)
				{
					if (num <= 16U)
					{
						if (num == 8U)
						{
							this.Uid = input.ReadUInt32();
							continue;
						}
						if (num == 16U)
						{
							this.MonsterId = input.ReadUInt32();
							continue;
						}
					}
					else
					{
						if (num == 24U)
						{
							this.ConfigId = input.ReadUInt32();
							continue;
						}
						if (num == 32U)
						{
							this.WorldLevel = input.ReadUInt32();
							continue;
						}
					}
				}
				else if (num <= 48U)
				{
					if (num == 40U)
					{
						this.CreateTime = input.ReadInt64();
						continue;
					}
					if (num == 48U)
					{
						this.LeftHp = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 56U)
					{
						this.AttackerNum = input.ReadUInt32();
						continue;
					}
					if (num == 64U)
					{
						this.ShareType = (PunkLordShareType)input.ReadEnum();
						continue;
					}
					if (num == 72U)
					{
						this.HGAIBECFCPL = input.ReadBool();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04003BBD RID: 15293
		private static readonly MessageParser<PunkLordMonsterBasicInfo> _parser = new MessageParser<PunkLordMonsterBasicInfo>(() => new PunkLordMonsterBasicInfo());

		// Token: 0x04003BBE RID: 15294
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003BBF RID: 15295
		public const int UidFieldNumber = 1;

		// Token: 0x04003BC0 RID: 15296
		private uint uid_;

		// Token: 0x04003BC1 RID: 15297
		public const int MonsterIdFieldNumber = 2;

		// Token: 0x04003BC2 RID: 15298
		private uint monsterId_;

		// Token: 0x04003BC3 RID: 15299
		public const int ConfigIdFieldNumber = 3;

		// Token: 0x04003BC4 RID: 15300
		private uint configId_;

		// Token: 0x04003BC5 RID: 15301
		public const int WorldLevelFieldNumber = 4;

		// Token: 0x04003BC6 RID: 15302
		private uint worldLevel_;

		// Token: 0x04003BC7 RID: 15303
		public const int CreateTimeFieldNumber = 5;

		// Token: 0x04003BC8 RID: 15304
		private long createTime_;

		// Token: 0x04003BC9 RID: 15305
		public const int LeftHpFieldNumber = 6;

		// Token: 0x04003BCA RID: 15306
		private uint leftHp_;

		// Token: 0x04003BCB RID: 15307
		public const int AttackerNumFieldNumber = 7;

		// Token: 0x04003BCC RID: 15308
		private uint attackerNum_;

		// Token: 0x04003BCD RID: 15309
		public const int ShareTypeFieldNumber = 8;

		// Token: 0x04003BCE RID: 15310
		private PunkLordShareType shareType_;

		// Token: 0x04003BCF RID: 15311
		public const int HGAIBECFCPLFieldNumber = 9;

		// Token: 0x04003BD0 RID: 15312
		private bool hGAIBECFCPL_;
	}
}
